#!/bin/bash
#Get local ip
ip=`hostname -I | awk '{print$1}'`

#Start to install k3s
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -

echo $ip
